//
//  CustomeNavigationBar.h
//  Neka
//
//  Created by yu on 2018/4/16.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CustomeNavigationBar;
@protocol CustomeNavigationBarDelegate <NSObject>
@optional
- (void)customeNavigationBar:(CustomeNavigationBar *)bar clickBackBtn:(UIButton*)backBtn;
- (void)customeNavigationBar:(CustomeNavigationBar *)bar clickCloseBtn:(UIButton*)closeBtn;
- (void)customeNavigationBar:(CustomeNavigationBar *)bar clickShareBtn:(UIButton*)shareBtn;

@end

@interface CustomeNavigationBar : UIView
@property (nonatomic, strong)UIButton *backBtn;
@property (nonatomic, strong)UIButton *closeBtn;
@property (nonatomic, strong)UILabel *titleLabel;
@property (nonatomic, strong)UIButton *shareBtn;
@property (nonatomic, weak)id <CustomeNavigationBarDelegate> delegate;

+ (CustomeNavigationBar *)customeNavigationBar;

- (void)showBackBtn:(BOOL)showBack closeBtn:(BOOL)showClose shareBtn:(BOOL)showShare;

- (void)showTitle:(NSString *)title;

@end
